{include file="public/head" /}
<style>
	.chunk {
            border: solid 1px #eee;
            background-color: white;
            display: flex;
            padding: 15px 10px;

        }
    .confirmBtn {
            width: 80%;
            height: 38px;
            line-height: 38px;
            background-color: #0057c8;
            text-align: center;
            margin: 30px auto;
            color: white;
            font-size: 20px;
            border-radius: 10px;
        }
</style>
<!--loading页开始-->
<div class="loading">
	<div class="loader">
        <div class="loader-inner pacman">
          <div></div>
          <div></div>
          <div></div>
          <div></div>
          <div></div>
        </div>
	</div>
</div>
<!--loading页结束-->
	<body>
		
		
		<div class="warp clearfloat" style="padding-top:10px;padding-bottom: 10px" >
			<div class="lists clearfloat"  >
				
				<div class="bottom clearfloat" id="shop" >
					{volist name="data" id="vol"}
					<div class="lie clearfloat" style="border-top:0px solid #000">
						<a href="{:url('shopgoodlist')}?shop_id={$vol.shop_id}">
							<div class="tu clearfloat fl">
								<img src="http://www.jfzhiwen.com/shoplogo/{$vol.shop_logo}"/>
							</div>
						</a>
						<div class="right clearfloat fl" >
							<a href="{:url('shopgoodlist')}?shop_id={$vol.shop_id}">
								<p class="tit">&nbsp;&nbsp;{$vol.shop_name}</p>
								<p class="tit">&nbsp;&nbsp;地址:{$vol.shop_address}</p>
								<p class="tit">&nbsp;&nbsp;电话:{$vol.shop_phone}</p>
								<p class="tit">&nbsp;&nbsp;营业时间:{$vol.shop_workingtime}</p>
							</a>
							
						</div>
					</div>
					{/volist}
					
				</div>
			</div>
		</div>
		
		<div class="chunk" id="chunk">
            <input type="submit" class="confirmBtn" value="加载更多"    style="margin:0 auto;background-color: #B0C4DE;border:0px solid #B0C4DE" onclick="getshopdata()"/>
        </div>
		<div style="height:60px"></div>
		<!--footer star-->
	    {include file="public/bottom"}
		<!--footer end-->
	</body>
	
</html>
<script type="text/javascript">
	function getshopdata(){
		 $.get("{:url('getshopdata')}",function(data){
		 	document.getElementById('shop').innerHTML=data;
            document.getElementById('chunk').style.display="none";
        },'html')
	}
</script>